<?php
/**
 * XuYuan Project
 *
 * @package	XueYuan 
 * @author	Jiuchi Team
 * @since	Version 1.0.0
 * @filesource
 */
defined('BASEPATH') OR exit('No direct script access allowed');
/**
 * My circle view
 * @author Wayne Yu
 */
?>
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">

<head>
    <link rel="stylesheet" type="text/css" href="/assets/css/layout.css">
    <link rel="stylesheet" type="text/css" href="/assets/css/mycircle.css">
</head>
<body>
    <!-- 创建圈子弹窗-->
    <div id="box-createCircle">
        <div class="submit-container">
            <div class="submit-content-title">
                <span class="submit-content-creat">创建新圈子</span>
            </div>
            <div class="submit-content">
                <div class="submit-form">
                    <form action="<?php echo site_url('circle/createPost')?>" class="form-form" method="post">
                        <div class="content-circle-select clear">
                            <div class="topic-create-title">
                                圈子名称:
                            </div>
                            <div class="circle-name-create">
                                <input type="text" name="name" class="circle-name-create-input">
                            </div>
                        </div>
                        <div class="content-circle-select clear">
                            <div class="topic-create-title">
                                选择分类:
                            </div>
                            <div class="circle-name-create">
                                <select name="category">
                                    <?php foreach ($cirCate as $cirCateOpt){?>
                                    	<option value="<?php echo $cirCateOpt['id']?>"><?php echo $cirCateOpt['name']?></option>
                                    <?php }?>
                                </select>
                            </div>
                        </div>
                        <div class="content-topic-create clear">
                            <div class="topic-create-title">
                                圈子描述:
                            </div>
                            <div class="topic-create-edit">
                                <div class="topic-edit-wrap">
                                        <textarea class="edit-textarea" name="description" style="resize: none;width: 550px;min-height: 150px;"></textarea>
                                </div>
                            </div>
                        </div>
                        <div class="submit-finish-part">
                            <button class="right-btn-decoration btn-blue" type="submit">创建</button>
                        </div>
                    </form>                          
                </div>
            </div>
         </div>
    </div>
</body>
</html>

